// 删除相片中的相片
// 删除按钮绑定在了查看相册详细界面上了


function delImgInAB(albumId,filename){
    if(confirm("是否删除这张相片")){

        let data = new FormData();
        data.append("albumId",albumId);
        data.append("filename",filename);
    
        postForm(data,"deletePic").then(function(value){
            if(value.code == 5000){
                alert(value.msg);
                lookABbtn.click();
            }
            else if(value.conde == 5001){
                alert(value.msg);
            }
    
        },function(reason){
            alert("AJAX请求失败")
        })
    
    }



}